package Dao;

import java.util.List;

import JavaServlet.TimeServlet.Banji;

public interface IBanjiDao {
	    //增加
		public List<Banji> selectAll();
		public List<Banji> selectByName(String name);
		//插入
		public Integer insert(Banji banji);
		//修改
		public Integer update(Banji banji);
		//删除
		public Integer deleteById(Integer id);
		public List<Banji> searchName(String searchName);
		public Integer getTotalCount();
		public Banji selectById(int id);
		public List<Banji> pageList(int offset, Integer pageSize);
}
